<?php	
	// Interface function	
	function oh_module_dom($tokens) {
		global $oh_object_dom;
		return $oh_object_dom;
	} 

	// Option file required
	require_once($oh['path']."/modules/dom/simplehtmldom/simple_html_dom.php");

	
	// Main class of module
	class oh_class_dom {
		function oh_class_dom() {
		}
		function from_string($html) {
			$html = oh("string")->flat_ascii($html);
			return str_get_html($html);	
		}
	}
	
	// Main object of module
	global $oh_object_dom;
	$oh_object_dom = new oh_class_dom();
?>
